package com.yzk.auction.entity;

/**
 * @author： lys
 * @date： 2020/8/20 9:19
 * @类名： SecondCategory
 * @Title： 二级分类
 */

public class SecondCategory {
    private int second_cid;     //二级分类id
    private String second_cname;//二级分类名
    private int first_cid;      //一级分类id

    public SecondCategory() {
    }

    public SecondCategory(String second_cname, int first_cid) {
        this.second_cname = second_cname;
        this.first_cid = first_cid;
    }

    public SecondCategory(int second_cid, String second_cname, int first_cid) {
        this.second_cid = second_cid;
        this.second_cname = second_cname;
        this.first_cid = first_cid;
    }

    public int getSecond_cid() {
        return second_cid;
    }

    public void setSecond_cid(int second_cid) {
        this.second_cid = second_cid;
    }

    public String getSecond_cname() {
        return second_cname;
    }

    public void setSecond_cname(String second_cname) {
        this.second_cname = second_cname;
    }

    public int getFirst_cid() {
        return first_cid;
    }

    public void setFirst_cid(int first_cid) {
        this.first_cid = first_cid;
    }

    @Override
    public String toString() {
        return "SecondCategory{" +
                "second_cid=" + second_cid +
                ", second_cname='" + second_cname + '\'' +
                ", first_cid=" + first_cid +
                '}';
    }
}
